package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.*;
    import com.evony.common.module.commission.*;
    import com.evony.common.paramBeans.*;
    
    public class CommissionQuestCommands extends Object
    {
        public function CommissionQuestCommands()
        {
            super();
            return;
        }

        public function getAllCommissionQuest(arg1:Function=null):com.evony.common.module.commission.CommissionQuestRespone
        {
            this._getAllCommissionQuest_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("commission.getAllCommissionQuest", loc1);
            }
            return null;
        }

        public function getMyAcceptedCommissionQuest(arg1:Function=null):com.evony.common.module.commission.CommissionQuestRespone
        {
            this._getMyAcceptedCommissionQuest_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("commission.getMyAcceptedCommissionQuest", loc1);
            }
            return null;
        }

        public function acceptCommissionQuest(arg1:int, arg2:int, arg3:com.evony.common.paramBeans.NewArmyParam, arg4:Function=null):com.evony.common.module.CommandResponse
        {
            this._acceptCommissionQuest_callback = arg4;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.questId = arg2;
            loc1.newArmyBean = arg3.toObject();
            if (this.sender != null) 
            {
                sender.sendMessage("commission.acceptCommissionQuest", loc1);
            }
            return null;
        }

        public function addCommissionQuestArmy(arg1:int, arg2:int, arg3:com.evony.common.paramBeans.NewArmyParam, arg4:Function=null):com.evony.common.module.CommandResponse
        {
            this._addCommissionQuestArmy_callback = arg4;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.questId = arg2;
            loc1.newArmyBean = arg3.toObject();
            if (this.sender != null) 
            {
                sender.sendMessage("commission.addCommissionQuestArmy", loc1);
            }
            return null;
        }

        public function getCommissionQuestArmyRanking(arg1:int, arg2:Function=null):com.evony.common.module.commission.CommissionQuestArmyRespone
        {
            this._getCommissionQuestArmyRanking_callback = arg2;
            var loc1:*=new Object();
            loc1.questId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("commission.getCommissionQuestArmyRanking", loc1);
            }
            return null;
        }

        public function getCommissionQuestArmyInfo(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.commission.CommissionQuestArmyInfoRespone
        {
            this._getCommissionQuestArmyInfo_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).questId = arg1;
            loc1.playerId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("commission.getCommissionQuestArmyInfo", loc1);
            }
            return null;
        }

        public function issueCommissionQuest(arg1:int, arg2:int, arg3:int, arg4:int, arg5:int, arg6:Function=null):com.evony.common.module.CommandResponse
        {
            this._issueCommissionQuest_callback = arg6;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.type = arg2;
            loc1.targetX = arg3;
            loc1.targetY = arg4;
            loc1.reward = arg5;
            if (this.sender != null) 
            {
                sender.sendMessage("commission.issueCommissionQuest", loc1);
            }
            return null;
        }

        public function declineCommissionQuest(arg1:int, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._declineCommissionQuest_callback = arg2;
            var loc1:*=new Object();
            loc1.questId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("commission.declineCommissionQuest", loc1);
            }
            return null;
        }

        public function getMyCommissionQuest(arg1:Function=null):com.evony.common.module.commission.CommissionQuestRespone
        {
            this._getMyCommissionQuest_callback = arg1;
            var loc1:*=new Object();
            if (this.sender != null) 
            {
                sender.sendMessage("commission.getMyCommissionQuest", loc1);
            }
            return null;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public var _issueCommissionQuest_callback:Function;

        public var _getMyCommissionQuest_callback:Function;

        public var _acceptCommissionQuest_callback:Function;

        public var _getMyAcceptedCommissionQuest_callback:Function;

        public var _getCommissionQuestArmyInfo_callback:Function;

        public var _declineCommissionQuest_callback:Function;

        public var _addCommissionQuestArmy_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _getAllCommissionQuest_callback:Function;

        public var _getCommissionQuestArmyRanking_callback:Function;
    }
}
